package com.dudy.chain;

/**
 * @program: zhuguangDemo
 * @description: 责任链设计模式
 * @author: dudy
 * @create: 2018-04-05 21:07
 **/
public class AbstractProvince implements Province {

    public Province province;

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    @Override
    public void todo(String type) {
        System.out.println("如果所有省份的处理类都处理不了，那么就交给父类来处理");
    }
}
